package com.xlh.pojo.courseTest;

import java.io.Serializable;
import java.util.Date;

public class CourseTestPaperModel implements Serializable {
    private Long id;

    /**
     * 教师id（预制的模板没有指定的教师id）
     *
     * @mbg.generated
     */
    private Long teacherId;

    /**
     * 是否预置
     *
     * @mbg.generated
     */
    private Boolean isPreset;

    /**
     * 模板类型，0-非章节模板，1-章节模板
     *
     * @mbg.generated
     */
    private Boolean isChapterModel;

    /**
     * 课程id，仅在包含章节的模板中使用
     *
     * @mbg.generated
     */
    private Long courseId;

    /**
     * 模板总分数
     *
     * @mbg.generated
     */
    private Integer score;

    /**
     * 模板内容
     *
     * @mbg.generated
     */
    private String content;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 变更时间
     *
     * @mbg.generated
     */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }

    public Boolean getIsPreset() {
        return isPreset;
    }

    public void setIsPreset(Boolean isPreset) {
        this.isPreset = isPreset;
    }

    public Boolean getIsChapterModel() {
        return isChapterModel;
    }

    public void setIsChapterModel(Boolean isChapterModel) {
        this.isChapterModel = isChapterModel;
    }

    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", teacherId=").append(teacherId);
        sb.append(", isPreset=").append(isPreset);
        sb.append(", isChapterModel=").append(isChapterModel);
        sb.append(", courseId=").append(courseId);
        sb.append(", score=").append(score);
        sb.append(", content=").append(content);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}